package com.itcanteen.medical.patient.config;

import org.springframework.web.bind.annotation.CrossOrigin;

import java.io.Serializable;

/**
 * 支付宝相关配置
 * @author 1804A-TeamOne
 * @date 2020-12-17 18:43
 */
@CrossOrigin
public class AlipayConfig implements Serializable {

	/**
	 * 应用ID,您的APPID，收款账号既是您的APPID对应支付宝账号
	 */
	public static final String APP_ID = "2021000116666508";

	/**
	 * 商户私钥，您的PKCS8格式RSA2私钥
	 */
    public static final String MERCHANT_PRIVATE_KEY = "MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDEhXXRFgHf1DIPOUk5o2uVWJfbaM1Ko35pZvcVVI7nhiN2Qf9EkpSFbwl349W03gBMgOz1Z8sFaQApDYYxMtYyOECrk/cOuaeZoI8p0d48fTjV4ARuuqcycQ5Nx02TKFdv1WkLeETM+a3JH4VdCEHpRLdD3YR7nCPuo659LLsqhHDiqzeMXN0plTA60reU2kWG0BOOly/wz5UcBPWpaivJcUBaN3AdjIhwE3UGixuDaXFE44+z1yyHCJg60V4InQSvW72XHnWSE5z+xcQNg6lGrTFjhxbqDE158jpnIws8SpNx9Gveqqj1po3/FPjkvMvKbPQpibOVGxbB4ZtHQZhpAgMBAAECggEAHiwXcKieVQ0xOmEjOvQ6Ok3F0uv+SO1dJTWnzeCTqDxSCYAMfyy6HNp1a7DRSNmk1hodR3hOFWCPo73t0nPpqwAz/aPUFLCwaMfb8yHDqynWpg+k3pNNxFLTTWHCKUvSUNtFK3ulpIrZAb4TLbts0zG3qXXDN287nRIIYjOR8O7rdcnf+T8so4j8/BIQw15BfSq0rWLiETXtBShlOfXhSu6TuB4B2lp1D6Ldh5Sqv8SfeACqO3lPjZ/3DQeDbYZcDEkw77hxhkCwpIyX2n5YLcNz3HNeJ7VeOl+6RXlMH8JqoapDX4r5E3JXuptCtv5hMM0iz2ligzh0HGLM+8PoOQKBgQD1jY+aexGiRH3ea44zxuxbUVG8FYfbzCdFx4dzmQezzPXrT660TIaCG+R9V4vqXlwlmNfHXEgofwQ3Y4w2VVWfpA4OaLJ39/mK4ljD6s2RUagOhVJlFaokqCuVbm/YIDyNsMgGKLdC9vqizWiOu8AF9dw5feWJRyNkvoyXYWvxywKBgQDM4d8RKFC6fsWV98u+pC2ZuW6fUcnIkIhmQFrYjwIPwQ1NpS3ay8ZIBLQnTNXqjo0wE6S8R2OVyqmiTdETa/6+E1zRGR3z95I8uIIOdRaaukIA7jQEilvM7bZyXJjnD60T2PbxMKzoWar5D7VWNPfiF5JrErp0YIQNR0pletpIGwKBgQDjrz9YnoTbUWbkthZFLE483kpLfCtdQw+nRDv0lBDwRzw/1MLJq6uNOQ/EqUizKIuI0RBDau39nsjqEwQP3VBnllbyRWI2m1hnzzk/cJjsBisuS7D6yfvZwZWoGZ7baAi92Q2fqGFFVn1QN+abcru6yx5IsNQFVlEbORRjyZGtwQKBgFs2n/Hqie5NbDf1Bv9L5oVO2eISLoydVCx5sDhDir5qyzprNHv5RsBfX7kzavUvG8pwpGGyQrK4dEcu78r+xH3o7uSkkwI/kRp5ZmV7WWHvVF1Hr17qHi6hEh3d/bC4+OwiJuaALiqPaR/TD39eu5Erv2LuBpazNXcX6xY82JtLAoGAfqI/gii6e9OiL34IoCIEESTV9pkiYxbXT/RNMT9gY+mqNmmDvccvDCgjZ2IAS2WfKURJwYGqC36qhxN3f23mBye8IcAVYnKUacONHc2UycPNQeId7PeTosA8TEbAqBhW9QeAgTaT0KU28JhydXkPLULdqVD2I0tfCoAFNOPAYj0=";

	/**
	 * 支付宝公钥,查看地址：https://openhome.alipay.com/platform/keyManage.htm 对应APPID下的支付宝公钥。
	 */
    public static final String ALIPAY_PUBLIC_KEY = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqIXsCA/lUrZSJS6cPos5YDDsHcW+DWLF9tnr3YVECQy5E0r4G49AF8DGMsj4n7HbpkLhx+KQ2RZtAZQ9d8/DUSGYhJx+LGu1G8+WOPFFzEvJuLiFSm9eh8GDErCfLm1yulmBPknOW9D7kIKuxqQ/iLc6H4YZsjVxgye01+GWTGhrqnEEF9/lRc6TgzGb0gTMeuZmmoRxxF4klejpbQviux1VTfk73JdeKB2KW8mMFAxNe80td9B34nPK1jblUFFkjMoOIezeCRoN+zdGWRumlBZopIUEWLvJ3Ndwz3Ft/NAoKRnacTjUm7vaZbMR99CnlHyfBSIf9gmaw4DD/xs97QIDAQAB";

	/**
	 * 服务器异步通知页面路径  需http://格式的完整路径，不能加?id=123这类自定义参数，必须外网可以正常访问
	 */
	public static final String NOTIFY_URL = "https://www.baidu.com";

	/**
	 * 页面跳转同步通知页面路径 需http://格式的完整路径，不能加?id=123这类自定义参数，必须外网可以正常访问
	 */
	public static final String RETURN_URL = "https://www.baidu.com";

	/**
	 * 签名方式
	 */
	public static final String SIGN_TYPE = "RSA2";
	
	/**
	 * 字符编码格式
	 */
	public static final String CHARSET = "utf-8";

	/**
	 * 返回格式
	 */
    public static final String FORMAT ="json";
	
	/**
	 * 支付宝网关
	 */
	public static final String GATEWAY_URL = "https://openapi.alipaydev.com/gateway.do";
}

